package cn.java79.quiz.pojo;

import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Arrays;
import java.util.Date;

/**
 * @author oldliu
 * @since 1.0
 */
public class MyUser {
    private String username;
    private String pass;
    private int[] like;
    String province;
    private int age;
    Date birthday;
    private Date enterdate;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPass() {
        return pass;
    }

    public void setPass(String pass) {
        this.pass = pass;
    }

    public int[] getLike() {
        return like;
    }

    public void setLike(int[] like) {
        this.like = like;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getEnterdate() {
        return enterdate;
    }

    public void setEnterdate(Date enterdate) {
        this.enterdate = enterdate;
    }

    @Override
    public String toString() {
        return "MyUser{" +
                "username='" + username + '\'' +
                ", pass='" + pass + '\'' +
                ", like=" + Arrays.toString(like) +
                ", province='" + province + '\'' +
                ", age=" + age +
                ", birthday=" + birthday +
                ", enterdate=" + enterdate +
                '}';
    }
}
